<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
body { font-size:12px; line-height:20px; margin:0; padding:5px; }
th { text-align:left; padding:0 5px; background:#fbfbfb; line-height:40px; text-align:center;}
td { background:#fff; padding:0 5px; text-align:center;}
</style>
<script type="text/javascript">
function iframeResizeHeight(frame_name,body_name,offset) {	
	parent.document.getElementById(frame_name).height=document.getElementById(body_name).offsetHeight+offset;
}

function Resize(){
	
 var frame_name="frame_content";
 var body_name="content"; 
 if(parent.document.getElementById(frame_name)){
  return iframeResizeHeight(frame_name,body_name,0);
 }
}

function openItem(id){	
	
	
	if(navigator.appName=="Microsoft Internet Explorer"){	
		window.showModalDialog('goodplan?method=queryForOne&id='+id,'','dialogWidth=1024px;dialogHeight=768px;scroll=true');
		
	}
	else if(navigator.appName=="Netscape"){		
		window.open('goodplan?method=queryForOne&id='+id,'','width=1024,height=768,modal=yes,location=no,scrollbars=yes,status=no,toolbar=no,resizble=yes'); 
	}	
}
</script>
</head>

<body onload="Resize();">
			<!-- 正文开始 -->
			<div id="content">
				 <table  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#e5e5e5"">
				<tr>
					<th width="100" style="padding:0;">品名</th>
					<th width="100" style="padding:0;">时间/趟数</th>
					<c:forEach items="${doorStoreList}" var="item" varStatus="var" begin="1">
					<th width="90">${item.doorStore_Name }</th>
					</c:forEach>
					<th width="90">小计</th>
				</tr>
				<c:forEach items="${list}" var="item" varStatus="var">
					<tr>
					
					<c:forEach items="${item}" var="i">
						
						${i}
						
					</c:forEach>
					</tr>	
				</c:forEach>
									
					</table>
					</div>
				</body>
				<!-- 正文结束 -->	
			
				</html>